Optimal. Leaf size=641 \[ -\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{7 h (h x)^{7/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h^2 (h x)^{5/2}}+\frac{\sqrt{2} b e^{7/4} f p \log \left (-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{7 d^{7/4} h^{9/2}}-\frac{\sqrt{2} b e^{7/4} f p \log \left (\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{7 d^{7/4} h^{9/2}}+\frac{2 \sqrt{2} b e^{7/4} f p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{7 d^{7/4} h^{9/2}}-\frac{2 \sqrt{2} b e^{7/4} f p \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}+1\right )}{7 d^{7/4} h^{9/2}}-\frac{\sqrt{2} b e^{5/4} g p \log \left (-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{5 d^{5/4} h^{9/2}}+\frac{\sqrt{2} b e^{5/4} g p \log \left (\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{5 d^{5/4} h^{9/2}}+\frac{2 \sqrt{2} b e^{5/4} g p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{5 d^{5/4} h^{9/2}}-\frac{2 \sqrt{2} b e^{5/4} g p \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}+1\right )}{5 d^{5/4} h^{9/2}}-\frac{8 b e f p}{21 d h^3 (h x)^{3/2}}-\frac{8 b e g p}{5 d h^4 \sqrt{h x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.826927, antiderivative size = 641, normalized size of antiderivative = 1., number of steps used = 25, number of rules used = 11, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.379, Rules used = {2467, 2476, 2455, 325, 211, 1165, 628, 1162, 617, 204, 297} \[ -\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{7 h (h x)^{7/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h^2 (h x)^{5/2}}+\frac{\sqrt{2} b e^{7/4} f p \log \left (-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{7 d^{7/4} h^{9/2}}-\frac{\sqrt{2} b e^{7/4} f p \log \left (\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{7 d^{7/4} h^{9/2}}+\frac{2 \sqrt{2} b e^{7/4} f p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{7 d^{7/4} h^{9/2}}-\frac{2 \sqrt{2} b e^{7/4} f p \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}+1\right )}{7 d^{7/4} h^{9/2}}-\frac{\sqrt{2} b e^{5/4} g p \log \left (-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{5 d^{5/4} h^{9/2}}+\frac{\sqrt{2} b e^{5/4} g p \log \left (\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{5 d^{5/4} h^{9/2}}+\frac{2 \sqrt{2} b e^{5/4} g p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{5 d^{5/4} h^{9/2}}-\frac{2 \sqrt{2} b e^{5/4} g p \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}+1\right )}{5 d^{5/4} h^{9/2}}-\frac{8 b e f p}{21 d h^3 (h x)^{3/2}}-\frac{8 b e g p}{5 d h^4 \sqrt{h x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2467
Rule 2476
Rule 2455
Rule 325
Rule 211
Rule 1165
Rule 628
Rule 1162
Rule 617
Rule 204
Rule 297
Rubi steps
\begin{align*} \int \frac{(f+g x) \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{(h x)^{9/2}} \, dx &=\frac{2 \operatorname{Subst}\left (\int \frac{\left (f+\frac{g x^2}{h}\right ) \left (a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )\right )}{x^8} \, dx,x,\sqrt{h x}\right )}{h}\\ &=\frac{2 \operatorname{Subst}\left (\int \left (\frac{f \left (a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )\right )}{x^8}+\frac{g \left (a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )\right )}{h x^6}\right ) \, dx,x,\sqrt{h x}\right )}{h}\\ &=\frac{(2 g) \operatorname{Subst}\left (\int \frac{a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )}{x^6} \, dx,x,\sqrt{h x}\right )}{h^2}+\frac{(2 f) \operatorname{Subst}\left (\int \frac{a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )}{x^8} \, dx,x,\sqrt{h x}\right )}{h}\\ &=-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{7 h (h x)^{7/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h^2 (h x)^{5/2}}+\frac{(8 b e g p) \operatorname{Subst}\left (\int \frac{1}{x^2 \left (d+\frac{e x^4}{h^2}\right )} \, dx,x,\sqrt{h x}\right )}{5 h^4}+\frac{(8 b e f p) \operatorname{Subst}\left (\int \frac{1}{x^4 \left (d+\frac{e x^4}{h^2}\right )} \, dx,x,\sqrt{h x}\right )}{7 h^3}\\ &=-\frac{8 b e f p}{21 d h^3 (h x)^{3/2}}-\frac{8 b e g p}{5 d h^4 \sqrt{h x}}-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{7 h (h x)^{7/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h^2 (h x)^{5/2}}-\frac{\left (8 b e^2 g p\right ) \operatorname{Subst}\left (\int \frac{x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{5 d h^6}-\frac{\left (8 b e^2 f p\right ) \operatorname{Subst}\left (\int \frac{1}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{7 d h^5}\\ &=-\frac{8 b e f p}{21 d h^3 (h x)^{3/2}}-\frac{8 b e g p}{5 d h^4 \sqrt{h x}}-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{7 h (h x)^{7/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h^2 (h x)^{5/2}}-\frac{\left (4 b e^2 f p\right ) \operatorname{Subst}\left (\int \frac{\sqrt{d} h-\sqrt{e} x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{7 d^{3/2} h^6}-\frac{\left (4 b e^2 f p\right ) \operatorname{Subst}\left (\int \frac{\sqrt{d} h+\sqrt{e} x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{7 d^{3/2} h^6}+\frac{\left (4 b e^{3/2} g p\right ) \operatorname{Subst}\left (\int \frac{\sqrt{d} h-\sqrt{e} x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{5 d h^6}-\frac{\left (4 b e^{3/2} g p\right ) \operatorname{Subst}\left (\int \frac{\sqrt{d} h+\sqrt{e} x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{5 d h^6}\\ &=-\frac{8 b e f p}{21 d h^3 (h x)^{3/2}}-\frac{8 b e g p}{5 d h^4 \sqrt{h x}}-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{7 h (h x)^{7/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h^2 (h x)^{5/2}}+\frac{\left (\sqrt{2} b e^{7/4} f p\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h}}{\sqrt [4]{e}}+2 x}{-\frac{\sqrt{d} h}{\sqrt{e}}-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt{h x}\right )}{7 d^{7/4} h^{9/2}}+\frac{\left (\sqrt{2} b e^{7/4} f p\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h}}{\sqrt [4]{e}}-2 x}{-\frac{\sqrt{d} h}{\sqrt{e}}+\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt{h x}\right )}{7 d^{7/4} h^{9/2}}-\frac{\left (\sqrt{2} b e^{5/4} g p\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h}}{\sqrt [4]{e}}+2 x}{-\frac{\sqrt{d} h}{\sqrt{e}}-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt{h x}\right )}{5 d^{5/4} h^{9/2}}-\frac{\left (\sqrt{2} b e^{5/4} g p\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h}}{\sqrt [4]{e}}-2 x}{-\frac{\sqrt{d} h}{\sqrt{e}}+\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt{h x}\right )}{5 d^{5/4} h^{9/2}}-\frac{\left (2 b e^{3/2} f p\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{d} h}{\sqrt{e}}-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt{h x}\right )}{7 d^{3/2} h^4}-\frac{\left (2 b e^{3/2} f p\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{d} h}{\sqrt{e}}+\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt{h x}\right )}{7 d^{3/2} h^4}-\frac{(2 b e g p) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{d} h}{\sqrt{e}}-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt{h x}\right )}{5 d h^4}-\frac{(2 b e g p) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{d} h}{\sqrt{e}}+\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt{h x}\right )}{5 d h^4}\\ &=-\frac{8 b e f p}{21 d h^3 (h x)^{3/2}}-\frac{8 b e g p}{5 d h^4 \sqrt{h x}}-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{7 h (h x)^{7/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h^2 (h x)^{5/2}}+\frac{\sqrt{2} b e^{7/4} f p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{7 d^{7/4} h^{9/2}}-\frac{\sqrt{2} b e^{5/4} g p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{5 d^{5/4} h^{9/2}}-\frac{\sqrt{2} b e^{7/4} f p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x+\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{7 d^{7/4} h^{9/2}}+\frac{\sqrt{2} b e^{5/4} g p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x+\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{5 d^{5/4} h^{9/2}}-\frac{\left (2 \sqrt{2} b e^{7/4} f p\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{7 d^{7/4} h^{9/2}}+\frac{\left (2 \sqrt{2} b e^{7/4} f p\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{7 d^{7/4} h^{9/2}}-\frac{\left (2 \sqrt{2} b e^{5/4} g p\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{5 d^{5/4} h^{9/2}}+\frac{\left (2 \sqrt{2} b e^{5/4} g p\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{5 d^{5/4} h^{9/2}}\\ &=-\frac{8 b e f p}{21 d h^3 (h x)^{3/2}}-\frac{8 b e g p}{5 d h^4 \sqrt{h x}}+\frac{2 \sqrt{2} b e^{7/4} f p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{7 d^{7/4} h^{9/2}}+\frac{2 \sqrt{2} b e^{5/4} g p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{5 d^{5/4} h^{9/2}}-\frac{2 \sqrt{2} b e^{7/4} f p \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{7 d^{7/4} h^{9/2}}-\frac{2 \sqrt{2} b e^{5/4} g p \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{5 d^{5/4} h^{9/2}}-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{7 h (h x)^{7/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h^2 (h x)^{5/2}}+\frac{\sqrt{2} b e^{7/4} f p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{7 d^{7/4} h^{9/2}}-\frac{\sqrt{2} b e^{5/4} g p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{5 d^{5/4} h^{9/2}}-\frac{\sqrt{2} b e^{7/4} f p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x+\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{7 d^{7/4} h^{9/2}}+\frac{\sqrt{2} b e^{5/4} g p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x+\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{5 d^{5/4} h^{9/2}}\\ \end{align*}
Mathematica [C] time = 0.0687117, size = 100, normalized size = 0.16 \[ -\frac{2 \sqrt{h x} \left (3 d (5 f+7 g x) \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )+20 b e f p x^2 \, _2F_1\left (-\frac{3}{4},1;\frac{1}{4};-\frac{e x^2}{d}\right )+84 b e g p x^3 \, _2F_1\left (-\frac{1}{4},1;\frac{3}{4};-\frac{e x^2}{d}\right )\right )}{105 d h^5 x^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.201, size = 0, normalized size = 0. \begin{align*} \int{ \left ( gx+f \right ) \left ( a+b\ln \left ( c \left ( e{x}^{2}+d \right ) ^{p} \right ) \right ) \left ( hx \right ) ^{-{\frac{9}{2}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.12623, size = 2996, normalized size = 4.67 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.61487, size = 659, normalized size = 1.03 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]